package com.smart.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.smart.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author metadata
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("项目提报响应模型")
public class ProjectReportVO extends BaseVO implements Serializable {
    @ApiModelProperty("项目id")
    private Long projectId;
    @ApiModelProperty("任务id")
    private Long taskId;
    @ApiModelProperty("任务类型 TEMP临时提报任务、WEEKLY周报任务")
    private String type;
    @ApiModelProperty("提报内容")
    private String content;
    @ApiModelProperty("提报状态 0未提报 1已提报")
    private Integer status;
    @ApiModelProperty("任务名称")
    private String taskName;
    @ApiModelProperty("任务编号")
    private String taskNum;
    @ApiModelProperty("截止提报时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deadlineDate;

    @ApiModelProperty("周报-年份")
    private Integer year;
    @ApiModelProperty("周报-一年中的第几周")
    private Integer week;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("生效周开始时间")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("生效周结束时间")
    private Date endTime;

    @ApiModelProperty("项目名称")
    private String projectName;
    @ApiModelProperty("项目编号")
    private String projectNumber;
    @ApiModelProperty("施工状态 ref字典表-施工状态 UN_START未开、RUNNING在施、STOP停工、WAIT_ACCEPT完工待验、FINISH完工、DIE死活")
    private String constructionStatus;
    @ApiModelProperty("街道编码")
    private String streetCode;
    @ApiModelProperty("街道名称")
    private String streetName;
    @ApiModelProperty("详细地址")
    private String address;
    @ApiModelProperty("工程类型 ref字典表-工程类型 COMMERCIAL_HOUSING房建-商品房、AFFORDABLE_HOUSING房建-保障房、PUBLIC_BUILDINGS房建-公共建筑、INDUSTRIAL_BUILDINGS房建-工业厂房、MUNICIPAL市政、DECORATION装修、HOUSE_ALTERATION老旧小区改造")
    private String engineeringType;
    @ApiModelProperty("质量监督注册号")
    private String qualityRegistrationNumber;
    @ApiModelProperty("总包单位（施工单位）")
    private String shigongUnit;

}
